/*
 * OnCUDA.h
 *
 *  Created on: 2011-7-23
 *      Author: ryan
 */

#ifndef ONCUDA_H_
#define ONCUDA_H_

#include "Common.h"
#include "Step_Two.h"

void cpu_initializeDeviceBuf(int);
void cpu_initCurStart(ACCM*);		//2.
void cpu_accmcalc(int, int, int);		//3.
void cpu_copyResult(ACCM*, int);		//4.
void cpu_switchPreAndCurLine();		//6.
void cpu_cudaFinalize();

#endif /* ONCUDA_H_ */
